CFLAGS = -Wall -W -g -O2

all: cpu_test

OBJS =\
			cpu_test.o \
			cpu_console.o \
			../cpu_functions.o    \
	        ../cpu_parse_display/cpu_display.o \
            ../cpu_parse_display/cpu_parse.o   \
			../cpu_parse_display/cpu_cpuid.o

cpu_test: $(OBJS)
	gcc -o cpu_test $(OBJS)

.c.o:
	gcc $(CFLAGS) -o $@ -c $<

.S.o:
	gcc $(CFLAGS) -o $@ -c $<


